using System;

namespace Fornax020.Devices
{
    /// <summary>
    /// 设备状态事件参数
    /// </summary>
    public class DeviceStatusEventArgs : EventArgs
    {
        public double CurrentKv { get; set; }
        public double CurrentMa { get; set; }
        public double FeedbackKv { get; set; }
        public double FeedbackMa { get; set; }
        public double FeedbackFil { get; set; }
        public string FirmwareVersion { get; set; }
        public string LastError { get; set; }
        public string CommandType { get; set; }
    }

    /// <summary>
    /// 曝光状态事件参数
    /// </summary>
    public class ExposureStatusEventArgs : EventArgs
    {
        public bool IsExposing { get; set; }

        public ExposureStatusEventArgs(bool isExposing)
        {
            IsExposing = isExposing;
        }
    }
}
